<%@ page language="java" contentType="text/html; charset=UTF-8" session="false" pageEncoding="UTF-8"%>
<%@page import="com.css.util.StringHelper"%>
<%@page import="com.css.webbase.util.CookieUtil"%>
<%@ taglib prefix="ww" uri="webwork"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	String login_skin  = CookieUtil.GetCookies("skin",request);
			
%>
<!DOCTYPE html>
<head>
	<meta http-equiv="X-UA-Compatible" content="IE=8"/>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title></title>
	<script type="text/javascript" src="cssui/plugins/jquery-1.10.2.min.js"></script>
 	<script type="text/javascript" src="cssui/plugins/underscore-min.js"></script>
    <script type="text/javascript" src="cssui/plugins/jquery.cookie.min.js"></script>
    <script type="text/javascript" src="cssui/js/urlloader.js"></script>
    <script type="text/javascript" src="cssui/plugins/bootstrap/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="cssui/plugins/jquery.validate.js"></script>
    <script type="text/javascript" src="cssui/plugins/encrypt/md5.js"></script>
    <script type="text/javascript" src="cssui/plugins/map.js"></script>
    <script type="text/javascript" src="custom/metro/login.js"></script>
    <script type="text/javascript" src="cssui/plugins/jquery.blockui.min.js"></script>
    <script type="text/javascript" src="cssui/plugins/lhgdialog/lhgdialog.min.js?skin=add"></script>
  	<script type="text/javascript" src="cssui/plugins/My97DatePicker/WdatePicker.js"></script>

     <script type="text/javascript" src="cssui/js/common.js"></script>
     <script type="text/javascript" src="cssui/js/css.core.js"></script>
     <script type="text/javascript" src="cssui/js/contextmenu.js"></script>
     <script type="text/javascript" src="cssui/js/table.js"></script>
     <script type="text/javascript" src="cssui/js/navtab.js"></script>
     <script type="text/javascript" src="cssui/js/action.js"></script>
     <script type="text/javascript" src="cssui/js/myapp.js"></script>
          
	 <script type="text/javascript" src="cssui/plugins/uuid.js"></script>
	 <script type="text/javascript" src="lib/ajax-pushlet-client.js"></script>


	<link href="cssui/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet"/>
	<link href="cssui/layout/default.css" rel="stylesheet"/>
	<link href="cssui/layout/document.css" rel="stylesheet"/>
	<link href="cssui/layout/font-awesome.min.css" rel="stylesheet"/>
	<link class="current" href="cssui/themes/metro/icons.css" rel="stylesheet" />
	<link class="current" href="cssui/themes/metro/style.css" rel="stylesheet"/>
	<link class="current" href="custom/metro/style.css" rel="stylesheet" id="login_skin"/>
	
</head>
<body style="height:100%;overflow:hidden;" onload="<ww:if test="#session.sUser!=null">loadMain();</ww:if><ww:else>loginReady();</ww:else>">
	<script>
		if(!! navigator.userAgent.match(/MSIE 7/)) {
			document.location.href = "msgie7.jsp";
		}
		g_rel='<%=request.getParameter("r")%>';
		g_url='<%=request.getParameter("u")%>';
	</script>
	<div class="main" id="main">
		<div class="mod_l" id="mod_l">
			<i class="user_icon"></i>
		</div>
		<div class="mod_r" id="mod_r">
			<form id="login-form" action="login.action" method="post" onsubmit="return validateCallbackA(this,loginaCallback)">
			<input type="hidden" name="sUser.password" id="pwd"/>
				<div class="title">领导班子考评系统</div>
				<div class="wel_txt">请登录</div>
					<p class="account">
						<span class="type"></span>
						<input type="text" class="required csspwd" title="用户名不能为空，且不包含空格！" name="sUser.loginName" id="name" value="test1"/>
						<i class=""></i>
					</p>
					<p class="password">
						<span class="type"></span>
						<input type="password" class="required csspwd" title="密码不能为空，且不包含空格！" name="password" id="password" value="admin111111"/>
						<i class=""></i>
					</p>
					<p class="auth">
						<span class="type"></span>
						<input type="text" class="required" maxlength="4" title="请输入验证码！" name="checkCode" id="code" value="0000"/>
						<span class="code"><img src="<%=basePath%>rand.jsp" alt="验证码" 
			            		id="checkCodeImg"  width="55px" style="border: 1px solid #000;"/></span>
						<i class="refresh" onclick="newImg();"></i>
					</p>
					<div class="btn"><a herf="#" class="submit" onclick="$(this).parents('form').submit();">登 录</a>
					<a herf="#" class="reset" onclick='loginReset();'>取 消</a></div>
				</form>
		</div>
		<div style="clear:both;"></div>
	</div>
	<div id="exp" style="display:none;"></div>
</body>
</html>